<template>
	<view class="page">
		<view class="head">
			<view class="job-position-switch">
				<u-tabs
					:list="switchList"
					duration="0"
					lineWidth="93"
					lineHeight="2"
					lineColor="#c8000a"
					:scrollable="false"
					:itemStyle="{ height: '74rpx', width: '25%', fontsize:'30rpx', backgroundColor:'#f5f5f5'}"
					:inactiveStyle="{ color: '#333333',}"
					:activeStyle="{ color: '#c8000a',}"
				>
				</u-tabs>
			</view>
			<view class="job-position-package-open">
				<image src="/static/job/jb.png" mode="aspectFit"></image>您已开通了<text>“【套餐四】发布365天，原件4500元，会员价999元；发布职位20个，赠送刷新1460次(每天4次)+查看简历50份，支付后请联系为您服务的业务员或拨打客服电话：1111111”</text>会员，总共可以免费发布<text>20</text>条职位，已经发布<text>3</text>条，剩余<text>17</text>条，<text>(升级VIP获得更多条数)</text>
			</view>
			<u-gap height="2" bgColor="#f5f5f5"></u-gap>
			<view class="job-position-package-renew">
				<image src="/static/job/ts.png" mode="aspectFit"></image>您的<text>“【套餐四】发布365天，原件4500元，会员价999元；发布职位20个，赠送刷新1460次(每天4次)+查看简历50份，支付后请联系为您服务的业务员或拨打客服电话：1111111”</text>会员<text>336</text>天后到期，到期后，VIP免费发布的职位也会同步已过期<text>(立即续费VIP)</text>
			</view>
			<u-gap height="5" bgColor="#f5f5f5"></u-gap>
		</view>
		
		<view class="body">
			<block v-for="(item,index) in 10" :key="index">
				<view class="job-position-item" @click="gotoJobContent(index)">
					<view class="job-position-head">
						<view class="job-position-head-title">
							<view class="job-position-head-state-part">兼职</view>
							<view class="job-position-head-text">招聘导购，工作轻松，招聘导购，工作轻松</view>
							<!-- <view class="job-position-head-real">
								<image src="../../static/job/qy.png" style="width: 32rpx; height: 32rpx;" class="job-position-head-real-image" mode="aspectFit"></image>
							</view> -->
						</view>
						
						<view class="job-position-head-view">
							浏览量：10000000
						</view>
					</view>
					<view class="job-position-body">
						<view class="job-position-body-text"> 经验不限 | 招聘5人</view>
						<view class="job-position-body-time">今天</view>
					</view>
					<view class="job-position-center">
						<view class="job-position-tag">
							<view class="job-position-tag-item">
								<u-tag text="年终奖" bgColor="#f7d9da" color="#c8000a" size="mini" type="warning"></u-tag>
							</view>
							<view class="job-position-tag-item">
								<u-tag text="节日福利" bgColor="#f7d9da" color="#c8000a" size="mini" type="warning"></u-tag>
							</view>
							<view class="job-position-tag-item">
								<u-tag text="年度" bgColor="#f7d9da" color="#c8000a" size="mini" type="warning"></u-tag>
							</view>
							<view class="job-position-tag-item">
								<u-tag text="婚嫁" bgColor="#f7d9da" color="#c8000a" size="mini" type="warning"></u-tag>
							</view>
						</view>
						<view class="job-position-state">展示中</view>
					</view>
					<view class="job-position-bottom">
						<view class="job-position-bottom-info">
							<view class="job-position-bottom-type">
								VIP发布
							</view>
							<!-- <view class="job-position-bottom-company">
								xxxxx食品有限公司
							</view> -->
						</view>
						<view class="job-position-bottom-del">
							<u-icon name="/static/job/del.png" size="36rpx"></u-icon>
						</view>
					</view>
				</view>
				
				<view class="job-position-info-operation">
					<u-gap height="2" bgColor="#f5f5f5" marginTop="10rpx"></u-gap>
					<view class="job-position-info-operation-list">
						<view class="job-position-info-operation-item">
							隐藏
						</view>
						<view class="job-position-info-operation-item">
							刷新
						</view>
						<view class="job-position-info-operation-item">
							简历
						</view>
						<view class="job-position-info-operation-item">
							置顶
						</view>
						<view class="job-position-info-operation-item">
							修改
						</view>
						<!-- <view class="job-position-info-operation-item-red">
							拒绝邀请
						</view> -->
					</view>
					<u-gap height="2" bgColor="#f5f5f5" marginTop="10rpx"></u-gap>
					<view class="job-position-info-operation-list">
						<view class="job-position-info-operation-item-red">
							立即支付
						</view>
					</view>
				</view>				
				<u-gap height="5" bgColor="#f5f5f5" marginTop="10rpx" marginBottom="20rpx"></u-gap>
			</block>
		</view>
		<view class="bottom">
			
		</view>
		<!-- 自定义底部导航菜单开始 -->
		<JobTabbar></JobTabbar>
		<!-- 自定义底部导航菜单结束 -->
		<view style="height: 100rpx;"></view>
	</view>
</template>

<script>
import JobTabbar from '@/components/JobTabbar/JobTabbar.vue';
	export default {
		data() {
			return {
				switchList: [
						{
							name: '全部'
						},
						{
							name: '展示中'
						},
						{
							name: '已过期'
						},
						{
							name: '待审核'
						}
					],
			}
		},
		methods: {
			
		},
		components: {
			JobTabbar,
		}
	}
</script>

<style lang="scss" scoped>
@import url('jobMyPosition.css');
</style>
